<!--HEADER -->

<?php
$page = 'dashboard';

//if no session yet
//header 'login.php'

$currentUser = null;

if(isset($_REQUEST['page']))
$page = $_REQUEST['page'];
echo $page;

if($page == 'login')
include 'pages/'.$page.'.php';
else
{
	include 'pages/includes/header.php';
	include 'pages/'.$page.'.php';
	include 'pages/includes/footer.php';
}
?>
